﻿using System;
using System.IO;

namespace Kingdee.SR.Plugin
{
    public static class WriteLog
    {
        public static void Write(string content)
        {
            var path = $"{AppDomain.CurrentDomain.BaseDirectory}/App_Data/Log/{DateTime.Now.ToShortDateString()}/sr.log";
            File.AppendAllLines(path, new string[] {"",DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), content });
        }
    }
}
